Answer:

Do you want pin stripes (0 or 1)?
1
Do you want anti-lock brakes (0 or 1)?
0
Total cost is: $20250.0

This time, only the first optional true block was executed.

A Flowchart of the Program

Here is a flowchart that shows how the program works: Each true block is like a "side-trip" that adds something to the totalCost. Both, neither, or just one side-trip might be taken.


hot wheels

QUESTION 12:

What would happen if the user answered both questions by typing "2" instead of "1" ?